<?php
namespace Frieza\Modules\Ifttt\Actions;

use Encore\Admin\Actions\RowAction;

class DataBoard extends RowAction
{
    public $name = '数据看板';

    /**
     * @return  string
     */
    public function render()
    {
        return '<a href="javascript:layer.open({
                    type: 2,
                    title: \'数据看板\',
                    maxmin: true,
                    shade: 0,
                    area: [\'900px\', \'500px\'],
                    content: \'' . $this->row("link") . '\'
                });">数据看板</a>';
    }
}